package com.diver.flinkdemo.entity.xxt;

import java.io.Serializable;

/**
 * Created by wenjun on 2018/7/6.
 */
public class UserRedis implements Serializable {

    private static final long serialVersionUID = -908926096004440677L;
    /**
     * 用户id
     */
    private String userId;
    /**
     * openid
     */
    private String openId;

    /**
     * openidLogin
     */
    private String openidLogin;

    private String accountId;

    public String getOpenidLogin() {
        return openidLogin;
    }

    public void setOpenidLogin(String openidLogin) {
        this.openidLogin = openidLogin;
    }

    /**
     * 学生卡唯一标示
     */
    private String studentCardId;

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    /**
     * 获得学生卡的渠道
     */
    private String card_type;


    /**
     * 上学类型：out为走读，in为住校
     */
    private String studentType;

    /**
     * 获得最新数据指令ID
     */
    private String instructResultId;

    /**
     * 版本：学生卡=studentCard，老年卡=oldCard
     */
    private String cardVersion;

    /**
     * 应用渠道
     */
    private String channel;

    private String channelId;

    private String teacherId;

    @Override
    public String toString() {
        return "UserRedis{" +
                "userId='" + userId + '\'' +
                ", openId='" + openId + '\'' +
                ", openidLogin='" + openidLogin + '\'' +
                ", accountId='" + accountId + '\'' +
                ", studentCardId='" + studentCardId + '\'' +
                ", card_type='" + card_type + '\'' +
                ", studentType='" + studentType + '\'' +
                ", instructResultId='" + instructResultId + '\'' +
                ", cardVersion='" + cardVersion + '\'' +
                ", channel='" + channel + '\'' +
                ", channelId='" + channelId + '\'' +
                ", teacherId='" + teacherId + '\'' +
                '}';
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getStudentCardId() {
        return studentCardId;
    }

    public void setStudentCardId(String studentCardId) {
        this.studentCardId = studentCardId;
    }

    public String getCard_type() {
        return card_type;
    }

    public void setCard_type(String card_type) {
        this.card_type = card_type;
    }

    public String getStudentType() {
        return studentType;
    }

    public void setStudentType(String studentType) {
        this.studentType = studentType;
    }

    public String getInstructResultId() {
        return instructResultId;
    }

    public void setInstructResultId(String instructResultId) {
        this.instructResultId = instructResultId;
    }

    public String getCardVersion() {
        return cardVersion;
    }

    public void setCardVersion(String cardVersion) {
        this.cardVersion = cardVersion;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }
}
